package cn.com.ejiakanghu.dto;

import org.linlinjava.litemall.db.domain.AgedmallHospitalSend;

import java.math.BigDecimal;

public class GoodsHospitalInfo {
    private Integer id;
    private String hospital;
    private String province ;
    private String city;
    private String village;
    private String address;
    private BigDecimal lng;
    private BigDecimal lat;
    private Integer hour;
    private BigDecimal price;
    private Integer isSub;
    private Integer subDay;

    private GoodsHospitalDeliveryMode deliveryMode;

    public GoodsHospitalInfo() {
    }

    public GoodsHospitalInfo(AgedmallHospitalSend agedmallHospitalSend) {
        this.id = agedmallHospitalSend.getId();
        this.hospital = agedmallHospitalSend.getHospitalName();
        this.province = agedmallHospitalSend.getProvince();
        this.city = agedmallHospitalSend.getCity();
        this.village = agedmallHospitalSend.getVillage();
        this.address = agedmallHospitalSend.getAddressDetail();
        this.lng = agedmallHospitalSend.getLng();
        this.lat = agedmallHospitalSend.getLat();
        this.hour = agedmallHospitalSend.getDeliveryTime();
        this.price = agedmallHospitalSend.getUrgentCost();
        this.isSub = agedmallHospitalSend.getSubscribe();
        this.subDay = agedmallHospitalSend.getSubscribeDay();
    }


    public GoodsHospitalDeliveryMode getDeliveryMode() {
        return deliveryMode;
    }

    public void setDeliveryMode(GoodsHospitalDeliveryMode deliveryMode) {
        this.deliveryMode = deliveryMode;
    }

    public Integer getSubDay() {
        return subDay;
    }

    public void setSubDay(Integer subDay) {
        this.subDay = subDay;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHospital() {
        return hospital;
    }

    public void setHospital(String hospital) {
        this.hospital = hospital;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getVillage() {
        return village;
    }

    public void setVillage(String village) {
        this.village = village;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BigDecimal getLng() {
        return lng;
    }

    public void setLng(BigDecimal lng) {
        this.lng = lng;
    }

    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }

    public Integer getHour() {
        return hour;
    }

    public void setHour(Integer hour) {
        this.hour = hour;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getIsSub() {
        return isSub;
    }

    public void setIsSub(Integer isSub) {
        this.isSub = isSub;
    }
}
